package org.openbpm.base.autoconfiguration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "spring.datasource")
public class DataSourceExtraProperties {

    /**
     * 数据源类别, default mysql
     */
    @Value("${spring.datasource.data-type:mysql}")
    private String dbType = "mysql";

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }
}
